package test7;

public class UserDraw extends Thread {
    Account account;
    double money;

    public UserDraw(Account account,double money){
        this.account=account;
        this.money=money;
    }


    public void run(){
        account.draw(money);
    }
}
